<?php
/**
 * @file
 * Defines the parameters for connecting to a MySQL database.
 *
 * Usage:
 *  - A page that wants to connect to a MySQL database should include/require
 *    this page once (and only once).
 *  - Use 'db_mysql_connect.php' to connect to a MySQL database.
 *
 * Parameter(s):
 *  - None.
 *
 * Global variable(s) set:
 *  - $DB_HOST     : MySQL database host.
 *  - $DB_USER     : MySQL database user ID.
 *  - $DB_PASS     : MySQL database user password.
 *  - $DB_NAME     : MySQL database name.
 *  - $DB_ENCODING : MySQL database encoding.
 *
 * Global variable(s) unset:
 *  - None.
 *
 * Exception(s):
 *  - None.
 *
 * This file includes/requires:
 *  - None.
 */

// global variable(s) ==========================================================
if (false == APP_DEBUG) {
  $DB_HOST     = "localhost";            //!< Database host.
  $DB_USER     = "snoopyeo_greenid";     //!< Database user ID.
  $DB_PASS     = "greenid";              //!< Database user password.
  $DB_NAME     = "snoopyeo_greenindeed"; //!< Database name.
  $DB_ENCODING = "utf8";                 //!< Database encoding.
} else {
  $DB_HOST     = "localhost";   //!< Database host.
  $DB_USER     = "greenindeed"; //!< Database user ID.
  $DB_PASS     = "greenindeed"; //!< Database user password.
  $DB_NAME     = "greenindeed"; //!< Database name.
  $DB_ENCODING = "utf8";        //!< Database encoding.
}
?>
